# 自己手动建的main.py文件用于调试，就不用 scrapy crawl 项目名
from scrapy.crawler import CrawlerProcess
from scrapy.utils.project import get_project_settings

if __name__ == '__main__':
    process = CrawlerProcess(get_project_settings())
    process.crawl("dangdangwang") # 替换自己的项目名称
    process.start()